<script>
export default {
  name: "P404",
  methods:{
    goHome(){
      this.$router.push("/work");
    },
    refreshPage(){
      this.$router.go(0);
    }
  }
}
</script>

<template>
  <div>
    <lay-exception status="404" title="404" describe="跳转页面失败" style="width: 600px;height:400px;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);">
      <template #extra>
        <lay-button @click="refreshPage">刷新</lay-button>
        <lay-button type="primary" @click="goHome">返回</lay-button>
      </template>
    </lay-exception>
  </div>

</template>

<style scoped>

</style>